#include "map/controllers/RouteController.h"

RouteController::RouteController(QueryRoute* queryRoute) {
	this->queryRoute = queryRoute;
}

RouteController::~RouteController() {

}

RoadNavigation RouteController::getNextAction() {
	return this->queryRoute->nextAction();
}

util::LinkedList<MapPoint>::Iterator RouteController::getRemainingIntersections() {
	return this->queryRoute->getRemainingIntersections();
}

RoadSegment* RouteController::getNextRoadSegment(){
	// TODO Revisar que devuelva lo que tiene que devolver
	return this->queryRoute->currentSegment();
}

void RouteController::setNewOrigin(MapPoint origin){
	// TODO implement me
}
